package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class WrScanDetailPageActivity extends UMWindowActivity {

	protected UMWindow WrScanDetailPage = null;
protected UMScrollView Scrollview_viewPage0 = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label2 = null;
protected UMTextbox textbox0 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label5 = null;
protected UMTextbox textbox2 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label7 = null;
protected UMTextbox textbox3 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label9 = null;
protected UMTextbox textbox4 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label11 = null;
protected UMTextbox textbox5 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label3 = null;
protected UMTextbox textbox1 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label4 = null;
protected UMNumberEdit number1 = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label6 = null;
protected UMNumberEdit number0 = null;
protected XHorizontalLayout panel12 = null;
protected UMLabel label8 = null;
protected UMTextbox textbox12 = null;
protected XHorizontalLayout panel13 = null;
protected UMLabel label16 = null;
protected UMTextbox textbox13 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label14 = null;
protected UMDateTimeEdit datetimeinput1 = null;

	
	protected final static int ID_WRSCANDETAILPAGE = 242578843;
protected final static int ID_SCROLLVIEW_VIEWPAGE0 = 336546162;
protected final static int ID_VIEWPAGE0 = 1970339397;
protected final static int ID_NAVIGATORBAR0 = 631112939;
protected final static int ID_BUTTON0 = 254842216;
protected final static int ID_LABEL0 = 1443680380;
protected final static int ID_PANEL0 = 81494263;
protected final static int ID_LABEL2 = 1421187535;
protected final static int ID_TEXTBOX0 = 500554964;
protected final static int ID_PANEL2 = 1315931703;
protected final static int ID_LABEL5 = 69989060;
protected final static int ID_TEXTBOX2 = 436140036;
protected final static int ID_PANEL3 = 379031135;
protected final static int ID_LABEL7 = 985241994;
protected final static int ID_TEXTBOX3 = 1815407689;
protected final static int ID_PANEL4 = 645736776;
protected final static int ID_LABEL9 = 1075643443;
protected final static int ID_TEXTBOX4 = 2020238280;
protected final static int ID_PANEL5 = 3442063;
protected final static int ID_LABEL11 = 1504742531;
protected final static int ID_TEXTBOX5 = 1739524048;
protected final static int ID_PANEL1 = 208090059;
protected final static int ID_LABEL3 = 1461443717;
protected final static int ID_TEXTBOX1 = 708192155;
protected final static int ID_PANEL8 = 1106384793;
protected final static int ID_LABEL4 = 1663945283;
protected final static int ID_NUMBER1 = 577308955;
protected final static int ID_PANEL9 = 1118755136;
protected final static int ID_LABEL6 = 400637943;
protected final static int ID_NUMBER0 = 1788803537;
protected final static int ID_PANEL12 = 723653099;
protected final static int ID_LABEL8 = 1718214037;
protected final static int ID_TEXTBOX12 = 1067842148;
protected final static int ID_PANEL13 = 1091379646;
protected final static int ID_LABEL16 = 1380231315;
protected final static int ID_TEXTBOX13 = 1157361686;
protected final static int ID_PANEL11 = 1114235235;
protected final static int ID_LABEL14 = 500531682;
protected final static int ID_DATETIMEINPUT1 = 106871036;

	
	
	@Override
	public String getControllerName() {
		return "WrScanDetailPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("WrScanDetailPage",ID_WRSCANDETAILPAGE);
  idmap.put("Scrollview_viewPage0",ID_SCROLLVIEW_VIEWPAGE0);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label2",ID_LABEL2);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label5",ID_LABEL5);
  idmap.put("textbox2",ID_TEXTBOX2);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label7",ID_LABEL7);
  idmap.put("textbox3",ID_TEXTBOX3);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label9",ID_LABEL9);
  idmap.put("textbox4",ID_TEXTBOX4);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label11",ID_LABEL11);
  idmap.put("textbox5",ID_TEXTBOX5);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label3",ID_LABEL3);
  idmap.put("textbox1",ID_TEXTBOX1);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label4",ID_LABEL4);
  idmap.put("number1",ID_NUMBER1);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label6",ID_LABEL6);
  idmap.put("number0",ID_NUMBER0);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("label8",ID_LABEL8);
  idmap.put("textbox12",ID_TEXTBOX12);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("label16",ID_LABEL16);
  idmap.put("textbox13",ID_TEXTBOX13);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label14",ID_LABEL14);
  idmap.put("datetimeinput1",ID_DATETIMEINPUT1);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(WrScanDetailPageActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","生产报告订单详情"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);

return navigatorbar0;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","单据号"
,"margin-right","4"
,"height","fill"
);
panel0.addView(label2);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","billcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel0.addView(textbox0);

return panel0;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","32.0"
,"content","行号"
,"margin-right","4"
,"height","fill"
);
panel2.addView(label5);
textbox2 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX2
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","rowno"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel2.addView(textbox2);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","产品编码"
,"margin-right","4"
,"height","fill"
);
panel3.addView(label7);
textbox3 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX3
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","materialcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel3.addView(textbox3);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","产品名称"
,"margin-right","4"
,"height","fill"
);
panel4.addView(label9);
textbox4 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX4
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","materialname"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel4.addView(textbox4);

return panel4;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","生产批次号"
,"margin-right","4"
,"height","fill"
);
panel5.addView(label11);
textbox5 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX5
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","batchcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel5.addView(textbox5);

return panel5;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","序列号"
,"margin-right","4"
,"height","fill"
);
panel1.addView(label3);
textbox1 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX1
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","serialno"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel1.addView(textbox1);

return panel1;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","96.0"
,"content","本次完工数量"
,"margin-right","4"
,"height","fill"
);
panel8.addView(label4);
number1 = (UMNumberEdit)ThirdControl.createControl(new UMNumberEdit(context),ID_NUMBER1
,"color","#167ef8"
,"max","9.99999999E8"
,"precision","2"
,"roundtype","value"
,"weight","1"
,"font-size","17"
,"roundvalue","5"
,"min","-9.99999999E8"
,"bindfield","wrastnum"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","4"
,"height","fill"
);
panel8.addView(number1);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","112.0"
,"content","本次完工主数量"
,"margin-right","4"
,"height","fill"
);
panel9.addView(label6);
number0 = (UMNumberEdit)ThirdControl.createControl(new UMNumberEdit(context),ID_NUMBER0
,"color","#167ef8"
,"max","9.99999999E8"
,"precision","2"
,"roundtype","value"
,"weight","1"
,"font-size","17"
,"roundvalue","5"
,"min","-9.99999999E8"
,"bindfield","wrnum"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","4"
,"height","fill"
);
panel9.addView(number0);

return panel9;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","32.0"
,"content","单位"
,"margin-right","4"
,"height","fill"
);
panel12.addView(label8);
textbox12 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX12
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","astunitcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel12.addView(textbox12);

return panel12;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","主单位"
,"margin-right","4"
,"height","fill"
);
panel13.addView(label16);
textbox13 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX13
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","unitcode"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel13.addView(textbox13);

return panel13;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","96.0"
,"content","实际完工时间"
,"margin-right","4"
,"height","fill"
);
panel11.addView(label14);
datetimeinput1 = (UMDateTimeEdit)ThirdControl.createControl(new UMDateTimeEdit(context),ID_DATETIMEINPUT1
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd HH:mm"
,"weight","1"
,"font-size","17"
,"bindfield","actualenddate"
,"background","#ffffff"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel11.addView(datetimeinput1);

return panel11;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","wrap"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
viewPage0.addView(panel2);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
viewPage0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
viewPage0.addView(panel4);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
viewPage0.addView(panel5);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
viewPage0.addView(panel1);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
viewPage0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
viewPage0.addView(panel9);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
viewPage0.addView(panel12);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
viewPage0.addView(panel13);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
viewPage0.addView(panel11);

return viewPage0;
}
public View getScrollview_viewPage0View(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_viewPage0 = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_VIEWPAGE0
,"layout","vbox"
,"width","fill"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
Scrollview_viewPage0.addView(viewPage0);

return Scrollview_viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
WrScanDetailPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_WRSCANDETAILPAGE
,"layout","vbox"
,"controller","WrScanDetailPageController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View Scrollview_viewPage0 = (View) getScrollview_viewPage0View((UMActivity)context,binderGroup);
WrScanDetailPage.addView(Scrollview_viewPage0);

return (UMWindow)WrScanDetailPage;
}

	
	public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.viewPage0_onload()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}


}
